﻿package ui.control
{
	import flash.display.MovieClip;
	import flash.text.TextField;
	
	public class AjaxLoader extends MovieClip implements IProcessInformer
	{
		public var tfPercent: TextField;
		
		public function get percent():Number
		{
			return Number(tfPercent.text);
		}
		
		public function set percent(value:Number):void
		{
			tfPercent.text = value.toFixed(0) + "%";
		}
   }
}